package br.com.logica;

import br.com.excecoes.ClienteException;
import br.com.modelo.Cliente;
import java.util.List;


/**
 *
 * @author Gernan
 */
public interface ClienteBusiness {
    
    Cliente salvar(Cliente cliente) throws ClienteException;
    
    Cliente atualizar(Cliente cliente) throws ClienteException;
    
    Cliente remover(Cliente cliente) throws ClienteException;
    
    Cliente getPorId(Long id) throws ClienteException;
    
    Cliente getPorCpf(String cpf) throws ClienteException;
    
    List<Cliente> buscar(String busca) throws ClienteException;
    
    List<Cliente> getTodos() throws ClienteException;
    
}